feat(flatpak): Flathub build-from-source packaging#327
Draft
debba wants to merge 1 commit into
Draft
Conversation
- Manifest io.github.tabularisdb.Tabularis.yml (GNOME 50 runtime, node22 + rust-stable SDK extensions, fully offline build with tauri/custom-protocol) - AppStream metainfo + desktop entry - Vendored sources (cargo-sources.json, node-sources.json) and generate-sources.sh to regenerate them - flathub.yml workflow: on each release, regenerate sources, pin tag+commit and open/refresh a PR on the Flathub repo (mirrors the AUR flow) - gitignore Flatpak build artifacts
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to #326
Adds Flatpak/Flathub packaging for Tabularis, built from source (the approach Flathub reviewers prefer) with fully vendored, offline dependencies.
What's included
flatpak/io.github.tabularisdb.Tabularis.yml— manifest:org.gnome.Platform//50runtime (ships webkit2gtk-4.1),node22+rust-stableSDK extensions, offline build (cargo build --features tauri/custom-protocolso production assets are embedded — no dev-server/localhost).flatpak/io.github.tabularisdb.Tabularis.metainfo.xml+.desktop— AppStream metadata and desktop entry.flatpak/cargo-sources.json+flatpak/node-sources.json— vendored Rust crates and pnpm packages for offline builds.flatpak/generate-sources.sh— regenerates the vendored sources..github/workflows/flathub.yml— on each published release: regenerates sources, pinstag+commit, syncs the pnpm version, updates the metainfo release list, and opens/refreshes a PR on the Flathub repo (mirrors the existing AUR flow).App ID
io.github.tabularisdb.Tabularis(based on the GitHub org, no domain verification required).Verified locally
flatpak-builder(frontend + Rust) ✅localhostconnection ✅appstreamcli validate✅,desktop-file-validate✅,flatpak-builder-lintclean except expected items (see below)Notes / follow-ups
updater.rsdetectsFLATPAK_ID).--filesystem=home(open SQLite files / import-export dumps from arbitrary paths) and--socket=ssh-auth(SSH tunneling). External screenshot URLs are mirrored automatically by Flathub after merge.FLATHUB_TOKEN) is still a manual one-time step.